package com.sip.stream.utils.zfy.event;

public class ZFYMediaEvent {
    public static final String EVENT_TYPE_ACOUSTIC_ECHO_OPEN = "EVENT_TYPE_ACOUSTIC_ECHO_OPEN";
    public static final String EVENT_TYPE_ACTION_TO_FAST = "EVENT_TYPE_ACTION_TO_FAST";
    public static final String EVENT_TYPE_AUDIO_CALL_START = "EVENT_TYPE_AUDIO_CALL_START";
    public static final String EVENT_TYPE_AUDIO_CALL_STOP = "EVENT_TYPE_AUDIO_CALL_STOP";
    public static final String EVENT_TYPE_AUDIO_STOP_COMPLETE = "EVENT_TYPE_AUDIO_STOP_COMPLETE";
    public static final String EVENT_TYPE_BAT_IN = "EVENT_TYPE_BAT_IN";
    public static final String EVENT_TYPE_BAT_OUT = "EVENT_TYPE_BAT_OUT";
    public static final String EVENT_TYPE_CAPTURE_ALARM = "EVENT_TYPE_CAPTURE_ALARM";
    public static final String EVENT_TYPE_CHANGE_MEDIA_CONFIG_FROM_PLATFORM = "EVENT_TYPE_CHANGE_MEDIA_CONFIG_FROM_PLATFORM";
    public static final String EVENT_TYPE_CHECK_AUDIO_COMMUNICATION_MODE = "EVENT_TYPE_CHECK_AUDIO_COMMUNICATION_MODE";
    public static final String EVENT_TYPE_CHECK_STATUS_STOP_RECORDING = "EVENT_TYPE_CHECK_STATUS_STOP_RECORDING";
    public static final String EVENT_TYPE_ERROR = "EVENT_TYPE_ERROR";
    public static final String EVENT_TYPE_GROUPINTERCOM_START_VIDEO = "EVENT_TYPE_GROUPINTERCOM_START_VIDEO";
    public static final String EVENT_TYPE_GROUPINTERCOM_STOP_VIDEO = "EVENT_TYPE_GROUPINTERCOM_STOP_VIDEO";
    public static final String EVENT_TYPE_JUMP_LAST_REPLAY = "EVENT_TYPE_JUMP_LAST_REPLAY";
    public static final String EVENT_TYPE_KEEP_SCREEN_ON = "EVENT_TYPE_KEEP_SCREEN_ON";
    public static final String EVENT_TYPE_MEDIA_MOUNTED = "EVENT_TYPE_MEDIA_MOUNTED";
    public static final String EVENT_TYPE_MEDIA_UNMOUNTED = "EVENT_TYPE_MEDIA_UNMOUNTED";
    public static final String EVENT_TYPE_MOVE_DECTECTED = "EVENT_TYPE_MOVE_DECTECTED";
    public static final String EVENT_TYPE_NOT_KEEP_SCREEN_ON = "EVENT_TYPE_NOT_KEEP_SCREEN_ON";
    public static final String EVENT_TYPE_PLATFORM_INVITE_VOICE_TALK = "EVENT_TYPE_PLATFORM_INVITE_VOICE_TALK";
    public static final String EVENT_TYPE_PLATFORM_START_AUDIO = "EVENT_TYPE_PLATFORM_START_AUDIO";
    public static final String EVENT_TYPE_PLATFORM_START_VIDEO = "EVENT_TYPE_PLATFORM_START_VIDEO";
    public static final String EVENT_TYPE_PLATFORM_STOP = "EVENT_TYPE_PLATFORM_STOP";
    public static final String EVENT_TYPE_PLATFORM_STOP_AUDIO = "EVENT_TYPE_PLATFORM_STOP_AUDIO";
    public static final String EVENT_TYPE_PLATFORM_STOP_INVITE_VOICE_TALK = "EVENT_TYPE_PLATFORM_STOP_INVITE_VOICE_TALK";
    public static final String EVENT_TYPE_PLATFORM_STOP_VIDEO = "EVENT_TYPE_PLATFORM_STOP_VIDEO";
    public static final String EVENT_TYPE_PPI_CHANGE = "EVENT_TYPE_PPI_CHANGE";
    public static final String EVENT_TYPE_REMOTE_AUDIO_START = "EVENT_TYPE_REMOTE_AUDIO_START";
    public static final String EVENT_TYPE_REMOTE_AUDIO_STOP = "EVENT_TYPE_REMOTE_AUDIO_STOP";
    public static final String EVENT_TYPE_REMOTE_CALL_STOP = "EVENT_TYPE_REMOTE_CALL_STOP";
    public static final String EVENT_TYPE_REMOTE_CAPUTRE = "EVENT_TYPE_REMOTE_CAPUTRE";
    public static final String EVENT_TYPE_REMOTE_LOCKED = "EVENT_TYPE_REMOTE_LOCKED";
    public static final String EVENT_TYPE_REMOTE_VIDEO_START = "EVENT_TYPE_REMOTE_VIDEO_START";
    public static final String EVENT_TYPE_REMOTE_VIDEO_STOP = "EVENT_TYPE_REMOTE_VIDEO_STOP";
    public static final String EVENT_TYPE_STOP_ALL = "EVENT_TYPE_STOP_ALL";
    public static final String EVENT_TYPE_STORAGE_ABNORMAL = "EVENT_TYPE_STORAGE_ABNORMAL";
    public static final String EVENT_TYPE_SWITCH = "EVENT_TYPE_STORAGE_ABNORMAL";
    public static final String EVENT_TYPE_TIP = "EVENT_TYPE_TIP";
    public static final String EVENT_TYPE_VIDEO_STOP_COMPLETE = "EVENT_TYPE_VIDEO_STOP_COMPLETE";
    private int messageRes;
    private String type;
    private String value;

    public ZFYMediaEvent(String type) {
        this.type = type;
    }

    public ZFYMediaEvent(String type, int messageRes) {
        this.type = type;
        this.messageRes = messageRes;
    }

    public ZFYMediaEvent(String type, String value) {
        this.type = type;
        this.value = value;
    }

    public static ZFYMediaEvent ErrorEvent(int messageRes) {
        return new ZFYMediaEvent("EVENT_TYPE_ERROR", messageRes);
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getMessageRes() {
        return this.messageRes;
    }

    public void setMessageRes(int messageRes) {
        this.messageRes = messageRes;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
